package com.sansan.qiangji.service.inter.base;

import com.sansan.qiangji.entity.base.Warehouse;
import com.sansan.qiangji.entity.base.example.WarehouseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehouseService {

    long countByExample(WarehouseExample example);


    int deleteByExample(WarehouseExample example);


    int deleteByPrimaryKey(Integer warehouseId);


    int insert(Warehouse record);

    int insertSelective(Warehouse record);


    List<Warehouse> selectByExample(WarehouseExample example);


    Warehouse selectByPrimaryKey(Integer warehouseId);


    int updateByExampleSelective(@Param("record") Warehouse record, @Param("example") WarehouseExample example);

    int updateByExample(@Param("record") Warehouse record, @Param("example") WarehouseExample example);


    int updateByPrimaryKeySelective(Warehouse record);


    int updateByPrimaryKey(Warehouse record);
}
